mypy - FSM#940
Conversation
|
Used pybind11-stubgen to automatically generate the stubs for However, after running that we get: That probably means that the In the case of the The stubs for |
|
I've looked into this, and the issue with the faulty bindings type generation lies in the binding source in the @PawelPlesniak, @miruuna, let's discuss this on Thursday. |
|
Conversation regarding the required changes in |
|
Thank you @miruuna and @jamesturner246 I can take a look at the |
|
Thanks @PawelPlesniak. I hate to say it, but in this case the effort of merging versus quickly redoing the same changes in a fresh branch may be better in the latter. Sorry for the noise @miruuna I'm away on leave from tomorrow until the 27th. FYI |
Description
Fixes issue #846
Added type hints to
src/drunc/fsm/. AllProtocolsare found infsm/_protocols.py.The relevant changes in the user workflow have been documented here (link URL)
Type of change
List of required branches from other repositories
None
Change log
Made
fsmmypy compliant.Suggested manual testing checklist
mypy src/drunc/fsm --follow-imports=silent- silent is needed as the other imports are not mypy compliant yetpytest src/drunc/fsmPrior to marking this as "Ready for Review"
Tests ran on: local device
Unit tests - some tests can't be ran on the CI. This is documented. If this PR checks a feature that can't be tested with CI, this has been marked appropriately.
Integration tests - the
daqsystemtest_integtest_bundlerequires a lot of resources, and connections to the EHN1 infrastructure. Check the cross referenced list if you can't run these. The developer needs to run at least the .pytest --marker) passeddaqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pydaqsystemtest_integtest_bundle.sh./scripts/drunc_integtest_bundle.sh)Final checklist prior to marking this as "Ready for Review"
Reviewer checklist
src/daqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pyifdaqsystemtest_integtest_bundle.shdruncare in the log filesdruncfailure appears:scripts/drunc_integtest_bundle.sh)Once the above boxes are checked, the PR(s) can be merged following the steps below.
Choose one of the following an complete all substepsPrior to merging
Once completed, the reviewer can merge the PR.
Notification message for a Slack channel
Note - this should be to #dunedaq-integration for general workflow that isn't during a release candidate period, and to #daq-release-prep otherwise.
For an single merge that changes the user workflow
For co-ordinated merge